package com.ljkj.blockpay.ui.activity;
import android.os.Bundle;
import android.os.Handler;
import android.view.View;
import com.ljkj.blockpay.R;
import com.ljkj.blockpay.basedata.BaseActivity;
import com.ljkj.blockpay.databinding.ActivityWelcomeBinding;
import com.ljkj.blockpay.presenter.WelcomePresenter;
import com.ljkj.blockpay.util.ToggleToActivity;
import com.ljkj.blockpay.widget.ClickListener;

public class WelcomeActivity extends BaseActivity<ActivityWelcomeBinding,WelcomePresenter> implements ClickListener {

    @Override
    public int initContentView() {
        return R.layout.activity_welcome;
    }

    @Override
    protected WelcomePresenter createPresenter() {
        return null;
    }

    @Override
    protected void init(Bundle savedInstanceState) {

        Handler handler = new Handler();
        handler.postDelayed(new Runnable() {
            @Override
            public void run() {
                ToggleToActivity.toMainActivity(WelcomeActivity.this);
            }
        },2000);
    }


    @Override
    public void onClick(View view) {

    }
}